using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace HDS.Model.Entity.Master
{
    /// <summary>
    /// 匹配房型 
    /// </summary>
    [SugarTable("mapping_room")]
    public class MappingRoom
    {

        /// <summary>
        /// 自增id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        public int Id { get; set; }

        /// <summary>
        /// 酒店id
        /// </summary>
        [SugarColumn(ColumnName = "hotel_id")]
        public int HotelId { get; set; }

        /// <summary>
        /// 房型id
        /// </summary>
        [SugarColumn(ColumnName = "room_id")]
        public int RoomId { get; set; }

        /// <summary>
        /// 供应商
        /// </summary>
        [SugarColumn(ColumnName = "supplier")]
        public string Supplier { get; set; }

        /// <summary>
        /// 供应商酒店id
        /// </summary>
        [SugarColumn(ColumnName = "supplier_hotel_id")]
        public string SupplierHotelId { get; set; }

        /// <summary>
        /// 供应商房型id
        /// </summary>
        [SugarColumn(ColumnName = "supplier_room_id")]
        public string SupplierRoomId { get; set; }

        /// <summary>
        /// 匹配状态 1:有效, 0:无效
        /// </summary>
        [SugarColumn(ColumnName = "mapping_status")]
        public bool MappingStatus { get; set; }

        /// <summary>
        /// 更新人id
        /// </summary>
        [SugarColumn(ColumnName = "updated_by")]
        public int UpdatedBy { get; set; }

        /// <summary>
        /// 更新人姓名
        /// </summary>
        [SugarColumn(ColumnName = "updated_by_name")]
        public string UpdatedByName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SugarColumn(ColumnName = "updated_time")]
        public DateTime UpdatedTime { get; set; }

    }
}
